@use "variables";
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

// 字体
@font-face {
  font-family: "SourceHanSansCN-Regular";
  src: url(../assets/font/SourceHanSansSC-Regular-2.otf);
}
// 字体
@font-face {
  font-family: "SourceHanSansCN-Medium";
  src: url(../assets/font/SourceHanSansSC-Medium-2.otf);
}
// 字体
@font-face {
  font-family: "PangMenZhengDao";
  src: url(../assets/font/PangMenZhengDao-Regular.ttf);
}
// 字体
@font-face {
  font-family: "YouSheBiaoTiHei";
  src: url(../assets/font/YouSheBiaoTiHei-2.ttf);
}
// 字体
@font-face {
  font-family: "din-bold";
  src: url(../assets/font/din-bold-2.ttf);
}
@font-face {
  font-family: "din-medium";
  src: url(../assets/font/DIN-Medium-2.otf);
}

html,body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: $bg-color;
}

#app {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  background: url("@/assets/icons/app-bg.png") center/100% 100% no-repeat;
  @extend %ctn;
}

// 重写日期组件
.el-date-editor{
  width: 135px !important;
  height: 34px !important;

  .el-input__wrapper{
    background: url("@/assets/icons/date-bg.png") center/100% 100% no-repeat !important;
    box-shadow: none !important;
  }
}

// 重写按钮
.el-button--primary.is-link{
  width: 100px;
  height: 30px;
  //background: url("@/assets/icons/btn-bg.png") center/100% 100% no-repeat !important;
  font-size: 14px;
  color: #FFFFFF;
  @extend %ctn;
}

.el-input__prefix,.el-input__inner{
  color: $text-color-base !important;
}
/* 滚动条样式 */
::-webkit-scrollbar {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
}

::-webkit-scrollbar-track-piece {
  background-color: #ffff;
  border-radius: 15px;
  -webkit-border-radius: 15px;
}

::-webkit-scrollbar-thumb:vertical {
  height: 8px;
  background-color: rgba(144, 147, 153, 1);
  border-radius: 15px;
  -webkit-border-radius: 15px;
}

::-webkit-scrollbar-thumb:horizontal {
  width: 8px;
  background-color: rgba(144, 147, 153, 1);
  border-radius: 15px;
  -webkit-border-radius: 15px;
}